package com.haidao.admin.component.dao;

import com.haidao.admin.component.entity.UserOperation;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UserOperationDao extends JpaRepository<UserOperation, Long> {

    /**
     * <h2>根据传入参数查询学生记录</h2>
     * @param specification 查询条件
     * @param pageable 分页参数
     * @return
     */
    Page<UserOperation> findAll(Specification<UserOperation> specification, Pageable pageable);

}
